Optimal. Leaf size=59 \[ \frac {a^2 \left (a+b x^2\right )^{5/2}}{5 b^3}-\frac {2 a \left (a+b x^2\right )^{7/2}}{7 b^3}+\frac {\left (a+b x^2\right )^{9/2}}{9 b^3} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.02, antiderivative size = 59, normalized size of antiderivative = 1.00, number of steps
used = 3, number of rules used = 2, integrand size = 15, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.133, Rules used = {272, 45}
\begin {gather*} \frac {a^2 \left (a+b x^2\right )^{5/2}}{5 b^3}+\frac {\left (a+b x^2\right )^{9/2}}{9 b^3}-\frac {2 a \left (a+b x^2\right )^{7/2}}{7 b^3} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 45
Rule 272
Rubi steps
\begin {align*} \int x^5 \left (a+b x^2\right )^{3/2} \, dx &=\frac {1}{2} \text {Subst}\left (\int x^2 (a+b x)^{3/2} \, dx,x,x^2\right )\\ &=\frac {1}{2} \text {Subst}\left (\int \left (\frac {a^2 (a+b x)^{3/2}}{b^2}-\frac {2 a (a+b x)^{5/2}}{b^2}+\frac {(a+b x)^{7/2}}{b^2}\right ) \, dx,x,x^2\right )\\ &=\frac {a^2 \left (a+b x^2\right )^{5/2}}{5 b^3}-\frac {2 a \left (a+b x^2\right )^{7/2}}{7 b^3}+\frac {\left (a+b x^2\right )^{9/2}}{9 b^3}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.03, size = 39, normalized size = 0.66 \begin {gather*} \frac {\left (a+b x^2\right )^{5/2} \left (8 a^2-20 a b x^2+35 b^2 x^4\right )}{315 b^3} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 0.04, size = 58, normalized size = 0.98
method | result | size |
gosper | \(\frac {\left (b \,x^{2}+a \right )^{\frac {5}{2}} \left (35 b^{2} x^{4}-20 a b \,x^{2}+8 a^{2}\right )}{315 b^{3}}\) | \(36\) |
default | \(\frac {x^{4} \left (b \,x^{2}+a \right )^{\frac {5}{2}}}{9 b}-\frac {4 a \left (\frac {x^{2} \left (b \,x^{2}+a \right )^{\frac {5}{2}}}{7 b}-\frac {2 a \left (b \,x^{2}+a \right )^{\frac {5}{2}}}{35 b^{2}}\right )}{9 b}\) | \(58\) |
trager | \(\frac {\left (35 b^{4} x^{8}+50 a \,b^{3} x^{6}+3 a^{2} b^{2} x^{4}-4 a^{3} b \,x^{2}+8 a^{4}\right ) \sqrt {b \,x^{2}+a}}{315 b^{3}}\) | \(58\) |
risch | \(\frac {\left (35 b^{4} x^{8}+50 a \,b^{3} x^{6}+3 a^{2} b^{2} x^{4}-4 a^{3} b \,x^{2}+8 a^{4}\right ) \sqrt {b \,x^{2}+a}}{315 b^{3}}\) | \(58\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A]
time = 0.27, size = 53, normalized size = 0.90 \begin {gather*} \frac {{\left (b x^{2} + a\right )}^{\frac {5}{2}} x^{4}}{9 \, b} - \frac {4 \, {\left (b x^{2} + a\right )}^{\frac {5}{2}} a x^{2}}{63 \, b^{2}} + \frac {8 \, {\left (b x^{2} + a\right )}^{\frac {5}{2}} a^{2}}{315 \, b^{3}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 0.86, size = 57, normalized size = 0.97 \begin {gather*} \frac {{\left (35 \, b^{4} x^{8} + 50 \, a b^{3} x^{6} + 3 \, a^{2} b^{2} x^{4} - 4 \, a^{3} b x^{2} + 8 \, a^{4}\right )} \sqrt {b x^{2} + a}}{315 \, b^{3}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [B] Leaf count of result is larger than twice the leaf count of optimal. 109 vs.
\(2 (51) = 102\).
time = 0.27, size = 109, normalized size = 1.85 \begin {gather*} \begin {cases} \frac {8 a^{4} \sqrt {a + b x^{2}}}{315 b^{3}} - \frac {4 a^{3} x^{2} \sqrt {a + b x^{2}}}{315 b^{2}} + \frac {a^{2} x^{4} \sqrt {a + b x^{2}}}{105 b} + \frac {10 a x^{6} \sqrt {a + b x^{2}}}{63} + \frac {b x^{8} \sqrt {a + b x^{2}}}{9} & \text {for}\: b \neq 0 \\\frac {a^{\frac {3}{2}} x^{6}}{6} & \text {otherwise} \end {cases} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A]
time = 0.92, size = 43, normalized size = 0.73 \begin {gather*} \frac {35 \, {\left (b x^{2} + a\right )}^{\frac {9}{2}} - 90 \, {\left (b x^{2} + a\right )}^{\frac {7}{2}} a + 63 \, {\left (b x^{2} + a\right )}^{\frac {5}{2}} a^{2}}{315 \, b^{3}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [B]
time = 4.66, size = 53, normalized size = 0.90 \begin {gather*} \sqrt {b\,x^2+a}\,\left (\frac {10\,a\,x^6}{63}+\frac {b\,x^8}{9}+\frac {8\,a^4}{315\,b^3}+\frac {a^2\,x^4}{105\,b}-\frac {4\,a^3\,x^2}{315\,b^2}\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________